package pl.pollub.medikit.server.db;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

import com.google.gwt.core.client.GWT;

public class DBConnectopnHelper {
	public static Connection getDbConnection() {
		Connection con = null;
		try {
			con = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:1521/orcl", "system", "MPZRwNWk6");
		} catch (SQLException e) {
			GWT.log("dupa", e);
			e.printStackTrace();
			System.out.println(e.getMessage());
		}
		
		return con;
	}
}
